#ifndef POINT_H
#define POINT_H

class Point
{
	private :
		int x;
		int y;
		
	public :
		Point();
		Point( int _x, int _y );
		Point( const Point &_p);
		~Point();
		
		Point operator=(const Point &_p);
		bool operator==(const Point &_p);
		
		int getX();
		int getY();
		
		void setX( int _x );
		void setY( int _y );
		void setXY ( int _x, int _y );
		
		bool isNear (Point _p);
		
		void print();
		void display();
		void display( float _r, float _g, float _b );
};

#endif
